home *** CD-ROM | disk | FTP | other *** search
- Path: news.danadata.dk!usenet
- From: Tjele bibliotek <firekl-3@danadata.dk>
- Newsgroups: comp.lang.c++
- Subject: Re: Linking WASM to WPP code
- Date: 26 Feb 1996 14:51:39 GMT
- Organization: DanaData Internet Services
- Message-ID: <4gshdr$dj6@news.danadata.dk>
- NNTP-Posting-Host: 193.162.156.22
-
- pa-ross@pat.uwe.ac.uk (P Ross) skriver:
- >
- >
- >
- > How should I prototype the function in the C++ code to get it to work ?
- >
- > The assembler proc is _VR_ResetTimer, and in my code I have void
- > VR_ResetTimer(void).
- >
- >
-
- Hi Paul,
-
- Try to declare your function like this :
-
- extern "C"{
- void VR_ResetTimer(void);
- }
-
- This should work ;-).
-
- Keep on the good work.
-
- Cheers,
- Hajo.
-
- hajo_quint@po.ia.dk
-
-
-